package com.hly.musicbackground.model.music.params;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SongQueryParams {

    @ApiModelProperty(value = "一页多少个",required = true)
    private int limit;//一页多少个【必填】

    @ApiModelProperty(value = "第几页",required = true)
    private int page;//第几页【必填】

    @ApiModelProperty(value = "搜索关键字")
    private String key;//搜索关键字【选填】

    @ApiModelProperty(value = "是否有MV")
    private int isMV;//是否有MV【选填】

    @ApiModelProperty(value = "最小上架时间")
    private Date minTime;//最小上架时间【选填】

    @ApiModelProperty(value = "最大上架时间")
    private Date maxTime;//最大上架时间【选填】

    @ApiModelProperty(value = "排序(示例：id:desc;time:desc)")
    private String sort;//排序【选填】(示例：id:desc;time:desc)
}
